package com.connector.base.message.model;

import com.connector.base.connection.Connection;
import io.netty.channel.ChannelFutureListener;

public interface Message
{
    Connection getConnection();

    void decodeBody();

    void encodeBody();

    void channelSend(final ChannelFutureListener listener);

    void send(final String eventName);
}
